Option Explicit
'OҲAppEventCls
Public WithEvents myApp As Application
Private Sub myApp_WorkbookOpen(ByVal Wb As Workbook)
    MsgBox Wb.Name & "Q}ҤFC by Application"
End Sub

'зǼҲ
Dim myAppCls As New AppEventCls
Sub InitializeAppEvent()
  Set myAppCls.myApp = Application
End Sub
